home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4474 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  762 b 

  1. Path: news-relay.eworld.com!not-for-mail
  2. From: davidrea@eworld.com (DavidRea)
  3. Newsgroups: comp.lang.c++
  4. Subject: Help!  Program not pausing at 'cin >>'
  5. Date: 30 Jan 1996 07:24:52 -0800
  6. Organization: eWorld
  7. Sender: root@news-relay.eworld.com
  8. Message-ID: <4eld84$bd7@hp5.online.apple.com>
  9. Reply-To: davidrea@eworld.com (DavidRea)
  10. NNTP-Posting-Host: hp5.online.apple.com
  11.  
  12. Sometimes my programs don't pause to wait for input
  13. at 'cin >>'.  Also at cin.getline(), etc.  So far I can't
  14. tell what the difference is between programs that pause
  15. as expected and programs that don't.
  16.  
  17. I assume this has something to do with my input buffers having
  18. stuff in them.  Any advice on: a) What is going on? b) A surefire
  19. way to make sure my buffers are clear?
  20.  
  21. Thanks,
  22. --David Rea
  23.